package team.knowers.firm.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import team.knowers.firm.common.database.BaseDO;

import java.util.Date;

/**
 * 预订机票实体类
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("booking")
public class BookingDO extends BaseDO {
    private Integer id;
    private Integer touristId;
    private Integer flightId;
    private String flightNo; // 航班号
    private Date startTime; // 出发时间
    private Date endTime;// 到达时间
    private String startPlace; // 起始地
    private String endPlace; // 目的地
    private Integer seatReq; // 舱位要求:0经济舱，1头等舱
    private String bookingAmount; // 预定金额
    private Integer bookingHash;//预订校验编号
}
